package com.gobygang.client.facebook;

import com.google.gwt.core.client.JavaScriptObject;

public class UserJso extends JavaScriptObject {
	  // Overlay types always have protected, zero-arg constructors
	  protected UserJso() { }
	  public final native String getId() /*-{ return this.id; }-*/;
	  public final native String getFirstName() /*-{ return this.first_name; }-*/;
	  public final native String getLastName()  /*-{ return this.last_name;  }-*/;
	  public final native String getEmail()  /*-{ return this.email;  }-*/;

	  public final String getFullName() {
	    return getFirstName() + " " + getLastName();
	  }

}

//id: 100001416601042
//name: Peter Hall
//first_name: Peter
//last_name: Hall
//link: http://www.facebook.com/profile.php?id=100001416601042
//gender: male
//timezone: 2
//locale: en_GB
//verified: true
//updated_time: 2010-07-25T14:51:26+0000
